﻿using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class SysManage_HidRefresh : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        //if ((string)Session["Baimasoft_User_LogonID"] != null)
        //{
        //    //Response.Redirect("../ReLogon.aspx");
        //    ClientScript.RegisterStartupScript(this.GetType(), "", "<script>window.parent.parent.href='ReLogon.aspx';</script>");

        //}
        //ClientScript.RegisterStartupScript(this.GetType(), "", "<script>window.parent.href='../ReLogon.aspx';</script>");
        //if ((string)Session["Baimasoft_User_LogonID"] != null)
        //{
        //    ClientScript.RegisterStartupScript(this.GetType(), "", "<script>alert('请重新登陆');main.href='../ReLogon.aspx';</script>");
        //    return;
        //}

        if (Session["Baimasoft_User_LogonID"] == null)  
        {
            Response.Redirect("../ReLogon.aspx");
        }
    }
    protected void BtnRefresh_Click(object sender, EventArgs e)
    {

    }
}
